package priv.mill.entry;

import java.util.List;
import com.alibaba.fastjson.annotation.JSONField;

public class Power extends BasePojo{



	private Integer powerId;
		
	public Integer getPowerId() {
		return powerId;
	}

	public void setPowerId(Integer powerId) {
		this.powerId = powerId;
	}

	private String powerName;
		
	public String getPowerName() {
		return powerName;
	}

	public void setPowerName(String powerName) {
		this.powerName = powerName;
	}

	private String powerCode;
		
	public String getPowerCode() {
		return powerCode;
	}

	public void setPowerCode(String powerCode) {
		this.powerCode = powerCode;
	}

	private String powerUrl;
		
	public String getPowerUrl() {
		return powerUrl;
	}

	public void setPowerUrl(String powerUrl) {
		this.powerUrl = powerUrl;
	}

	private Integer powerFatherId;
		
	public Integer getPowerFatherId() {
		return powerFatherId;
	}

	public void setPowerFatherId(Integer powerFatherId) {
		this.powerFatherId = powerFatherId;
	}

	private java.sql.Timestamp createTime;
		
	public java.sql.Timestamp getCreateTime() {
		return createTime;
	}

	public void setCreateTime(java.sql.Timestamp createTime) {
		this.createTime = createTime;
	}

	private java.sql.Timestamp updateTime;
		
	public java.sql.Timestamp getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(java.sql.Timestamp updateTime) {
		this.updateTime = updateTime;
	}

	
	
@JSONField(serialize=false)
private List<RolePower> rolePower;
	
	public List<RolePower> getRolePower() {
		return rolePower;
	}

	public void setRolePower(List<RolePower> rolePower) {
		this.rolePower = rolePower;
	}



	//带参数构造
	public Power(Integer powerId,String powerName,String powerCode,String powerUrl,Integer powerFatherId,java.sql.Timestamp createTime,java.sql.Timestamp updateTime) {
		this.powerId=powerId;this.powerName=powerName;this.powerCode=powerCode;this.powerUrl=powerUrl;this.powerFatherId=powerFatherId;this.createTime=createTime;this.updateTime=updateTime;

	}

	
	//空参数构造
	public Power() {
	}
	
	

}
